// src/main.js
import Vue from 'vue'
import App from './App.vue'

import VueRouter from 'vue-router'
import VueResource from 'vue-resource'

import routerMap from './router'
import task from './components/task'

// Register Component
Vue.component('task', task)

// Register Component
Vue.use(VueResource)
Vue.use(VueRouter)

const router = new VueRouter({
  hashbang: false,
  transitionOnLoad: true
})

routerMap(router)

router.start(App, 'app')
